home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
usenet
/
sources
/
volume90
/
comm
/
vt10029b
/
part01
/
2.9a-2.9b.diffs
Wrap
Text File
|
1990-04-14
|
24KB
|
831 lines
Index: vt100.h
Prereq: 1.4
*** ../29A/vt100.h Mon Mar 19 09:44:24 1990
--- ./vt100.h Mon Mar 19 09:44:35 1990
***************
*** 1,3 ****
! #define HRCSID "$RCSfile: vt100.h,v $ $Revision: 1.4 $"
/*********************************************************************
--- 1,3 ----
! #define HRCSID "$RCSfile: vt100.h,v $ $Revision: 1.6 $"
/*********************************************************************
***************
*** 6,9 ****
--- 6,16 ----
*
* $Log: vt100.h,v $
+ * Revision 1.6 90/03/13 21:34:10 acs
+ * Update VERSION to 2.9B.
+ *
+ * Revision 1.5 90/02/18 16:54:48 acs
+ * 1) New script routines cmd_overscan() and cmd_close().
+ * 2) New p_ variable: p_overscan.
+ *
* Revision 1.4 90/02/12 20:23:52 acs
* 1) Update date stamp in VERSION for the release of 2.9A.
***************
*** 39,43 ****
/********* major version (used for title of terminal window) *********/
! #define VERSION "VT100 (V2.9A ACS 900212) Terminal Window"
/*********** ######## define the compiler type here ######## ********/
--- 46,50 ----
/********* major version (used for title of terminal window) *********/
! #define VERSION "VT100 (V2.9B ACS 900313) Terminal Window"
/*********** ######## define the compiler type here ######## ********/
***************
*** 276,280 ****
extern UBYTE *BeepWave;
extern UBYTE Audio_AllocMap[4];
! extern int p_baud,p_screen,p_interlace,p_depth,p_buffer,p_wbcolors;
extern int p_foreground,p_background,p_bold,p_cursor,p_lines,p_mode;
extern int p_parity,p_volume,p_wrap,p_echo,p_keyapp,p_curapp,p_bs_del;
--- 283,288 ----
extern UBYTE *BeepWave;
extern UBYTE Audio_AllocMap[4];
! extern int p_baud,p_screen,p_overscan,p_interlace,p_depth,p_buffer;
! extern int p_wbcolors;
extern int p_foreground,p_background,p_bold,p_cursor,p_lines,p_mode;
extern int p_parity,p_volume,p_wrap,p_echo,p_keyapp,p_curapp,p_bs_del;
***************
*** 328,333 ****
extern int cmd_bkg(), cmd_bold(), cmd_buf(), cmd_cursor(), cmd_depth(),
cmd_device(), cmd_display(), cmd_fore(), cmd_font(),
! cmd_fonts(), cmd_inter(), cmd_lines(), cmd_screen(),
! cmd_unit(), cmd_volume(), cmd_wb(), cmd_null(),
/* script commands */
--- 336,341 ----
extern int cmd_bkg(), cmd_bold(), cmd_buf(), cmd_cursor(), cmd_depth(),
cmd_device(), cmd_display(), cmd_fore(), cmd_font(),
! cmd_fonts(), cmd_inter(), cmd_lines(), cmd_overscan(),
! cmd_screen(), cmd_unit(), cmd_volume(), cmd_wb(), cmd_null(),
/* script commands */
***************
*** 339,344 ****
/* init and script commands */
cmd_ac(), cmd_appcur(), cmd_baud(), cmd_bt(), cmd_conv(),
! cmd_echo(), cmd_exit(), cmd_ext(), cmd_fnc(), cmd_key(),
! cmd_kmode(), cmd_kmaxpk(), cmd_mode(), cmd_mouse(),
cmd_numkey(), cmd_parity(), cmd_strip(), cmd_share(),
cmd_short(), cmd_swap(), cmd_wrap(), cmd_xbeep(),
--- 347,352 ----
/* init and script commands */
cmd_ac(), cmd_appcur(), cmd_baud(), cmd_bt(), cmd_conv(),
! cmd_close(), cmd_echo(), cmd_exit(), cmd_ext(), cmd_fnc(),
! cmd_key(), cmd_kmode(), cmd_kmaxpk(), cmd_mode(), cmd_mouse(),
cmd_numkey(), cmd_parity(), cmd_strip(), cmd_share(),
cmd_short(), cmd_swap(), cmd_wrap(), cmd_xbeep(),
Index: ReleaseNotes
*** ../29A/ReleaseNotes Mon Mar 19 09:44:20 1990
--- ./ReleaseNotes Mon Mar 19 09:44:32 1990
***************
*** 1,4 ****
--- 1,38 ----
Release Notes:
--------------
+ v2.9B Hilights and fixes:
+ - New command OVERSCAN which will allow the user to define, via the
+ LINES command, how large the CUSTOM screen should be. OVERSCAN OFF
+ will constrain a custom screen to be the same size or smaller than
+ the Workbench screen while OVERSCAN ON will allow the screen to be
+ large enough to accomodate the specified number of lines.
+
+ NOTE: If you are NOT using a custom screen you are still constrained
+ to the size of the Workbench screen. OVERSCAN won't help you in
+ this situation.
+
+ - New command CLOSE which closes the VT100 Info/Xfer status window.
+ If CLOSE is executed you get no confirmation that a script or AREXX
+ macro has completed. The close flag is reset at the end of each
+ script/AREXX macro.
+ - Clean up returned values in script.c.
+ - cleanup() code in vt100.c wouldn't always free ExtXfer array.
+ - Include 2.9A hilights in this file (ReleaseNotes).
+ v2.9A Hilights and fixes:
+ - New menu item STRIP to strip parity of inbound serial data destined
+ for display.
+ - Clean up menu-handling code.
+ - "Classic" kermit routines weren't always freeing memory.
+ - Saybye() in classic kermit didn't always work effectively disabling
+ KERMIT Bye.
+ - Beep after transfers which use an external protocol.
+ - File transferrs wouldn't always prompt for filename.
+ - Squashed a few more bugs where I'd hard-coded the size of the font.
+ - While executing a script, don't poll the serial port unless the
+ script is waiting or delaying.
+ - req() in window.c would sometimes miss events.
+ - Use LONG for byte count in xmodem transfers.
+ - Revised menu handling.
+ - Add RCS info.
v2.9 ?????? ACS - Many changes. Highlights:
- Open information window at far right of main window.
Index: init.c
Prereq: 1.4
*** ../29A/init.c Mon Mar 19 09:44:21 1990
--- ./init.c Mon Mar 19 09:44:33 1990
***************
*** 1,3 ****
! static char rcsid[] = "$RCSfile: init.c,v $ $Revision: 1.4 $";
/***************************************************************
--- 1,3 ----
! static char rcsid[] = "$RCSfile: init.c,v $ $Revision: 1.6 $";
/***************************************************************
***************
*** 6,9 ****
--- 6,23 ----
*
* $Log: init.c,v $
+ * Revision 1.6 90/03/11 14:29:43 acs
+ * 1) If user wants OVERSCAN and a CUSTOM SCREEN then *any* value for
+ * LINES is valid and we compute the screen size based on the
+ * LINES value. Note that this allows the user to specify an
+ * arbitrarily large (or small) screen. This was the overwhelming
+ * response from USENET when I put it to a vote. If OVERSCAN or
+ * SCREEN wasn't specified then we still restrict the user to a
+ * screen size maximum of GfxBase->NormalDisplayRows.
+ * 2) Compute customfudge earlier so it can be used in the
+ * calculations used to implement 1, above.
+ *
+ * Revision 1.5 90/02/18 17:07:03 acs
+ * Honor OVERSCAN ON/OFF setting.
+ *
* Revision 1.4 89/12/12 22:13:56 acs
* 1) Strip excess blanks from the rest of the menu items.
***************
*** 367,373 ****
/* Now set up all the screen info as necessary */
! maxrows = GfxBase->NormalDisplayRows;
!
! /* If user wants to use the current interlace setting then set p_interlace
** according to what the ViewLord says it is. */
if(p_interlace == 2)
--- 381,385 ----
/* Now set up all the screen info as necessary */
! /* If user wants to use the current interlace setting then set p_interlace
** according to what the ViewLord says it is. */
if(p_interlace == 2)
***************
*** 376,383 ****
p_interlace = 0;
! if(p_interlace)
! maxrows *= 2;
! customfudge = (p_screen == 1) ? 4 : 0;
/* See if user wants to use everything available (specified LINES 0).If
--- 388,400 ----
p_interlace = 0;
! customfudge = p_screen ? 4 : 0;
! if(p_overscan && p_screen && p_lines)
! maxrows = (p_lines * Ysize) + customfudge + Ysize + 2;
! else {
! maxrows = GfxBase->NormalDisplayRows;
! if(p_interlace)
! maxrows *= 2;
! }
/* See if user wants to use everything available (specified LINES 0).If
Index: rexx.c
Prereq: 1.2
*** ../29A/rexx.c Mon Mar 19 09:44:22 1990
--- ./rexx.c Mon Mar 19 09:44:34 1990
***************
*** 1,3 ****
! static char rcsid[] = "$RCSfile: rexx.c,v $ $Revision: 1.2 $";
/*************************************************************
--- 1,3 ----
! static char rcsid[] = "$RCSfile: rexx.c,v $ $Revision: 1.3 $";
/*************************************************************
***************
*** 6,9 ****
--- 6,12 ----
*
* $Log: rexx.c,v $
+ * Revision 1.3 90/02/18 17:03:45 acs
+ * Don't write termination msg if CLOSE has been executed.
+ *
* Revision 1.2 89/12/19 20:38:59 acs
* Added RCS id and change log.
***************
*** 23,26 ****
--- 26,31 ----
extern char *extension; /* in vt100.c */
+ extern int closed_info; /* in script.c */
+
#define AREXXCOMMAND 2
/* Derived from:
***************
*** 124,130 ****
if(arg1 == (char *)AREXXCOMMAND) {
! if(RexxReplies == 0 && command) {
LONG memlen = strlen(MacDone) + strlen(command) + 1;
if(message = AllocMem(memlen, MEMF_PUBLIC | MEMF_CLEAR)) {
strcpy(message, MacDone);
--- 129,136 ----
if(arg1 == (char *)AREXXCOMMAND) {
! if(RexxReplies == 0 && command && !closed_info) {
LONG memlen = strlen(MacDone) + strlen(command) + 1;
+ closed_info = 0;
if(message = AllocMem(memlen, MEMF_PUBLIC | MEMF_CLEAR)) {
strcpy(message, MacDone);
Index: script.c
Prereq: 1.5
*** ../29A/script.c Mon Mar 19 09:44:23 1990
--- ./script.c Mon Mar 19 09:44:34 1990
***************
*** 1,3 ****
! static char rcsid[] = "$RCSfile: script.c,v $ $Revision: 1.5 $";
/*************************************************************
--- 1,3 ----
! static char rcsid[] = "$RCSfile: script.c,v $ $Revision: 1.7 $";
/*************************************************************
***************
*** 6,9 ****
--- 6,20 ----
*
* $Log: script.c,v $
+ * Revision 1.7 90/02/22 20:58:45 acs
+ * 1) Remove unneeded parens from return statements.
+ * 2) Return CMDOK instead of 0 from routines whose rc counts.
+ * 3) New routines cmd_overscan() and cmd_close() need to return a value
+ * (CMDOK).
+ *
+ * Revision 1.6 90/02/18 16:57:10 acs
+ * 1) Support new cmds OVERSCAN and CLOSE with cmd_overscan() and
+ * cmd_close().
+ * 2) Move setvar() closer to the beginning of the file.
+ *
* Revision 1.5 89/12/14 20:32:10 acs
* Wasn't beeping after a transfer using external protocols.
***************
*** 73,76 ****
--- 84,88 ----
extern long atol();
+ extern void KillReq(); /* In window.c */
#if MANX
***************
*** 100,103 ****
--- 112,116 ----
char golabel[20]; /* label we are looking for in goto */
char on_cmd[20]; /* command to execute when on matchs*/
+ int closed_info = 0; /* info window was closed */
int onsize; /* size of on_string */
int waitsize; /* size of wait_string */
***************
*** 126,129 ****
--- 139,143 ----
cmd_cap, "capture", 3, SCRIPT, /* ascii capture on/off */
cmd_cd, "cd", 2, SCRIPT, /* change directory */
+ cmd_close, "close", 2, INIT|SCRIPT, /* close the info window */
cmd_conv, "convert", 4, INIT|SCRIPT, /* convert fn to lowercase */
cmd_cursor, "cursor", 3, INIT, /* set cursor color */
***************
*** 156,159 ****
--- 170,174 ----
cmd_numkey, "numkey", 6, INIT|SCRIPT, /* turn numeric kpad on/off */
cmd_on, "on", 2, SCRIPT, /* on a 'string' do a cmd */
+ cmd_overscan, "overscan", 2, INIT, /* Overscan OK on custom screen */
cmd_parity, "parity", 6, INIT|SCRIPT, /* Set Parity */
cmd_recf, "recfile", 4, SCRIPT, /* receive a file from host */
***************
*** 425,429 ****
} else
InfoMsg2Line("Script:", errmsg);
! return(cmdrc);
}
}
--- 440,444 ----
} else
InfoMsg2Line("Script:", errmsg);
! return cmdrc;
}
}
***************
*** 433,437 ****
cmdrc = cmd_rx(p);
implied_rexx = 0;
! return(cmdrc);
}
#endif /* AREXX */
--- 448,452 ----
cmdrc = cmd_rx(p);
implied_rexx = 0;
! return cmdrc;
}
#endif /* AREXX */
***************
*** 453,460 ****
label = lbase;
while(label != NULL) {
! if (strcmp(label->name, lname) == 0) return (label);
label = label->next;
}
! return(NULL);
}
--- 468,476 ----
label = lbase;
while(label != NULL) {
! if (strcmp(label->name, lname) == 0)
! return label;
label = label->next;
}
! return NULL;
}
***************
*** 482,486 ****
}
exe_cmd(p,l);
! return(0);
}
script_wait = FALSE;
--- 498,502 ----
}
exe_cmd(p,l);
! return CMDOK;
}
script_wait = FALSE;
***************
*** 487,491 ****
if(CmdFromRexx)
! return 0;
while(fgets(line,256,sf) != NULL) {
--- 503,507 ----
if(CmdFromRexx)
! return CMDOK;
while(fgets(line,256,sf) != NULL) {
***************
*** 518,522 ****
if (*p)
exe_cmd(p,l);
! return(0);
} /* end of while */
if (stat == GOTOLABEL)
--- 534,538 ----
if (*p)
exe_cmd(p,l);
! return CMDOK;
} /* end of while */
if (stat == GOTOLABEL)
***************
*** 537,541 ****
WaitIO((struct IORequest *)&Script_Timer); /* Get my reply back */
}
! InfoMsg1Line("Script: terminated");
script_on = FALSE;
script_wait = TRUE;
--- 553,560 ----
WaitIO((struct IORequest *)&Script_Timer); /* Get my reply back */
}
! if(!closed_info) {
! InfoMsg1Line("Script: terminated");
! closed_info = 0;
! }
script_on = FALSE;
script_wait = TRUE;
***************
*** 548,552 ****
if (reqwinup && ((reqwindow->Flags) & WINDOWACTIVE))
ActivateWindow(mywindow);
! return 0;
}
--- 567,571 ----
if (reqwinup && ((reqwindow->Flags) & WINDOWACTIVE))
ActivateWindow(mywindow);
! return CMDOK;
}
***************
*** 593,597 ****
}
*s1 = '\0';
! return(ptr);
}
if (*s1 == '^') {
--- 612,616 ----
}
*s1 = '\0';
! return ptr;
}
if (*s1 == '^') {
***************
*** 598,605 ****
*s1 = (*(s1+1)|' ')-96;
*(s1+1) = '\0';
! return(s1);
}
*(s1+1) = '\0';
! return(s1);
}
--- 617,624 ----
*s1 = (*(s1+1)|' ')-96;
*(s1+1) = '\0';
! return s1;
}
*(s1+1) = '\0';
! return s1;
}
***************
*** 619,623 ****
fseek(sf,(long)(label->pos),0);
}
! return 0;
}
--- 638,642 ----
fseek(sf,(long)(label->pos),0);
}
! return CMDOK;
}
***************
*** 635,639 ****
else
sendstring(p);
! return 0;
}
--- 654,658 ----
else
sendstring(p);
! return CMDOK;
}
***************
*** 648,652 ****
waitsize = strlen(wait_string);
script_wait = WAIT_STRING;
! return 0;
}
--- 667,671 ----
waitsize = strlen(wait_string);
script_wait = WAIT_STRING;
! return CMDOK;
}
***************
*** 671,677 ****
on_cmd[oncmdsize] = '\0';
}
! return 0;
}
cmd_delay(seconds)
char *seconds;
--- 690,727 ----
on_cmd[oncmdsize] = '\0';
}
! return CMDOK;
}
+ void setvar(par,typ,var)
+ char *par;
+ int typ,*var;
+ {
+ int i;
+
+ switch (typ) {
+ case 0: /* ON/OFF or YES/NO */
+ case 1: /* not case */
+ if ((par[1]|' ') == 'n' || (par[0]|' ') == 'y') *var = 1-typ;
+ else *var = typ;
+ break;
+
+ case 2: /* read hex number */
+ if (sscanf(par,"%x",&i) == 1) *var = i;
+
+ break;
+
+ case 3: /* read decimal number */
+ if (sscanf(par,"%d",&i) == 1) *var = i;
+ break;
+ }
+ }
+
+ cmd_overscan(par)
+ char *par;
+ {
+ setvar(par, 0, &p_overscan);
+ return CMDOK;
+ }
+
cmd_delay(seconds)
char *seconds;
***************
*** 681,685 ****
Script_Timer.tr_time.tv_micro = 0;
SendIO((struct IORequest *)&Script_Timer.tr_node);
! return 0;
}
--- 731,735 ----
Script_Timer.tr_time.tv_micro = 0;
SendIO((struct IORequest *)&Script_Timer.tr_node);
! return CMDOK;
}
***************
*** 691,695 ****
if (doing_init)
! return 0;
if (*option) {
--- 741,745 ----
if (doing_init)
! return CMDOK;
if (*option) {
***************
*** 708,712 ****
}
}
! return 0;
}
--- 758,762 ----
}
}
! return CMDOK;
}
***************
*** 994,997 ****
--- 1044,1055 ----
}
+ cmd_close(name)
+ char *name;
+ {
+ KillReq();
+ closed_info = 1;
+ return CMDOK;
+ }
+
cmd_sb(str)
char *str;
***************
*** 1157,1184 ****
}
return CMDOK;
- }
-
- void setvar(par,typ,var)
- char *par;
- int typ,*var;
- {
- int i;
-
- switch (typ) {
- case 0: /* ON/OFF or YES/NO */
- case 1: /* not case */
- if ((par[1]|' ') == 'n' || (par[0]|' ') == 'y') *var = 1-typ;
- else *var = typ;
- break;
-
- case 2: /* read hex number */
- if (sscanf(par,"%x",&i) == 1) *var = i;
-
- break;
-
- case 3: /* read decimal number */
- if (sscanf(par,"%d",&i) == 1) *var = i;
- break;
- }
}
--- 1215,1218 ----
Index: vt100.c
Prereq: 1.8
*** ../29A/vt100.c Mon Mar 19 09:44:23 1990
--- ./vt100.c Mon Mar 19 09:44:34 1990
***************
*** 1,3 ****
! static char rcsid[] = "$RCSfile: vt100.c,v $ $Revision: 1.8 $";
static char hrcsid[] = HRCSID;
--- 1,3 ----
! static char rcsid[] = "$RCSfile: vt100.c,v $ $Revision: 1.9 $";
static char hrcsid[] = HRCSID;
***************
*** 7,10 ****
--- 7,14 ----
*
* $Log: vt100.c,v $
+ * Revision 1.9 90/02/18 17:05:32 acs
+ * 1) New parameter p_overscan. Reflects OVERSCAN ON/OFF.
+ * 2) Freeing of ExtXfer[] should always happen.
+ *
* Revision 1.8 90/02/12 20:25:05 acs
* Include reference to HRCSID defined in vt100.h.
***************
*** 279,282 ****
--- 283,287 ----
int p_shared = 1; /* Open serial device in shared mode */
int p_screen = 0; /* 0 = WORKBENCH, 1 = CUSTOM */
+ int p_overscan = 0; /* 0 = no overscan, 1 = overscan OK */
int p_wbcolors = 1; /* 0 = Custom, 1 = Workbench colors */
int p_interlace = 2; /* 0 = no interlace, 1 = interlace, 2 = ASIS */
***************
*** 712,725 ****
CloseScreen( myscreen );
}
- for(i = 0; i < NumExts; i++) {
- struct ExternalXfer *xfer = ExtXfer[i];
-
- FreeMem(xfer->dispname, (long)(strlen(xfer->dispname)+1));
- FreeMem(xfer->downname, (long)(strlen(xfer->downname)+1));
- FreeMem(xfer->send, (long)(strlen(xfer->send)+1));
- FreeMem(xfer->receive, (long)(strlen(xfer->receive)+1));
- FreeMem(xfer, (long)sizeof(struct ExternalXfer));
- }
-
case 3: /* error opening screen */
case 2: /* error opening graphics library */
--- 717,720 ----
***************
*** 732,736 ****
CloseLibrary((struct Library *)IntuitionBase);
default:
! if (*reason) puts (reason);
}
--- 727,742 ----
CloseLibrary((struct Library *)IntuitionBase);
default:
! for(i = 0; i < NumExts; i++) {
! struct ExternalXfer *xfer = ExtXfer[i];
!
! FreeMem(xfer->dispname, (long)(strlen(xfer->dispname)+1));
! FreeMem(xfer->downname, (long)(strlen(xfer->downname)+1));
! FreeMem(xfer->send, (long)(strlen(xfer->send)+1));
! FreeMem(xfer->receive, (long)(strlen(xfer->receive)+1));
! FreeMem(xfer, (long)sizeof(struct ExternalXfer));
! }
!
! if (*reason)
! printf("VT100: %s\n", reason);
}
Index: vt100.doc
*** ../29A/vt100.doc Mon Mar 19 09:44:23 1990
--- ./vt100.doc Mon Mar 19 09:44:35 1990
***************
*** 302,305 ****
--- 302,314 ----
CD DF1:foo/bar set the directory as specified
--------------------------------------------------------------------------
+ CLOSE Close info window (INIT,SCRIPT)
+ Format:
+ CLOSE Note there are no parameters
+ Example:
+ CLOSE This command can be execute from either a
+ VT100 or an AREXX script. If this command
+ is executed then there will be no message
+ confirming the script's completion.
+ --------------------------------------------------------------------------
CONVERT Tell KERMIT whether or not to convert filenames (INIT,SCRIPT)
Format:
***************
*** 440,443 ****
--- 449,454 ----
INTERLACE ON Use interlacing
INTERLACE ASIS Use interlace if WBSCREEN uses it
+
+ See also OVERSCAN, LINES and SCREEN.
--------------------------------------------------------------------------
KB Send a BYE packet to a host KERMIT server. (SCRIPT)
***************
*** 481,488 ****
LINES n
Example:
! LINES 24 Maximum for non-interlace
! LINES 48 Maximum for interlaced
LINES 0 Determine the maximum number of lines
! available and use it
--------------------------------------------------------------------------
MODE Set a transfer mode for KERMIT to use (INIT,SCRIPT)
--- 492,504 ----
LINES n
Example:
! LINES 24 Maximum for non-interlace if OVERSCAN is OFF
! LINES 48 Maximum for interlaced if OVERSCAN is OFF
LINES 0 Determine the maximum number of lines
! available and use it. Note that this will
! constrain the window and screen to be the
! same size as or smaller than the Workbench
! screen.
!
! See also: OVERSCAN, SCREEN, INTERLACE
--------------------------------------------------------------------------
MODE Set a transfer mode for KERMIT to use (INIT,SCRIPT)
***************
*** 551,554 ****
--- 567,586 ----
Send a space every time --more-- is received
--------------------------------------------------------------------------
+ OVERSCAN Allow overscan on custom screens (INIT)
+ Format:
+ OVERSCAN ON/OFF or YES/NO
+ Example:
+ OVERSCAN ON Normally, VT100 constrains the maximum
+ screen size to be the same as Workbench.
+ This command instructs VT100 to ignore the
+ Workbench size and compute the screen size
+ based on the value specified in the LINES
+ command. If LINES is set to 0 then VT100
+ constrains the screen and window to the
+ Workbench screen/window size irrespective
+ of the OVERSCAN setting.
+
+ See also LINES, SCREEN and INTERLACE.
+ --------------------------------------------------------------------------
PARITY Sets the parity (INIT,SCRIPT)
Format:
***************
*** 618,621 ****
--- 650,655 ----
SCREEN WORKBENCH use the workbench screen
SCREEN CUSTOM use a custom screen
+
+ See also OVERSCAN, LINES and INTERLACE.
--------------------------------------------------------------------------
SEND Sends a string or character to the host. (SCRIPT)
Index: window.c
Prereq: 1.5
*** ../29A/window.c Mon Mar 19 09:44:24 1990
--- ./window.c Mon Mar 19 09:44:35 1990
***************
*** 1,3 ****
! static char rcsid[] = "$RCSfile: window.c,v $ $Revision: 1.5 $";
/****************************************************
--- 1,3 ----
! static char rcsid[] = "$RCSfile: window.c,v $ $Revision: 1.6 $";
/****************************************************
***************
*** 6,9 ****
--- 6,12 ----
*
* $Log: window.c,v $
+ * Revision 1.6 90/02/22 20:56:31 acs
+ * When we write to the Info window we must clear the Info closed flag.
+ *
* Revision 1.5 90/01/23 20:17:11 acs
* 1) Machine would lock up due to req() "missing" some events. Thanks
***************
*** 43,46 ****
--- 46,51 ----
#include "vt100.h"
+ extern int closed_info; /* in script.c */
+
static char *infkey[] = { /* F-keys resulting from RawKeyConvert() */
"0~", "1~", "2~", "3~", "4~", "5~", "6~", "7~", "8~", "9~",
***************
*** 676,679 ****
--- 681,686 ----
Move(reqwindow->RPort, (LONG)reqminx, (LONG)(reqy+BaseLine));
Text(reqwindow->RPort, msg, msglen);
+
+ closed_info = 0; /* Info window not closed anymore */
}